Learning Web Development with Bootstrap and AngularJS by Radford Stephen

Learning Web Development with Bootstrap and AngularJS by Radford Stephen

Author:Radford, Stephen
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2015-05-29T16:00:00+00:00


As with every module, we need to inject this into our application. Our declaration is located in the first line of controller.js; the name of the AngularStrap module is mgcrea.ngStrap. Below we've added AngularStrap as a dependency on our contactsMgr module:

angular.module('contactsMgr', ['ngRoute', 'ngSanitize', 'mgcrea.ngStrap'])

That's not all we need to do here, unfortunately. AngularStrap depends on the ngAnimate module that we're yet to include in our project. We can find this under the Extras link in the download modal window at https://angularjs.org/.

Add the minified version to your project's js directory and include it before AngularStrap:

<script type="text/javascript" src="/assets/js/angular-animate.min.js"></script>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.